package imper.engine.battle.view;

import imper.engine.battle.IModel;

import java.net.URL;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;

import TWLSlick.TWLStateBasedGame;

public class BattleGame extends TWLStateBasedGame
{

	public BattleGame(String name, IModel pModel)
	{
		super( name );
		this.addState( new BattleView( pModel ) );
		this.enterState( 0 );
	}

	/**
	 * Implement this method and return the URL for the TWL theme.
	 * 
	 * @return the URL for the TWL theme. Must not be null.
	 */
	@Override
	protected URL getThemeURL()
	{
		return this.getClass().getResource( "/ui/simple.xml" );
	}

	@Override
	public void initStatesList( GameContainer arg0 ) throws SlickException
	{
	}

}
